\hypertarget{logger_8h}{
\section{logger.h \-File \-Reference}
\label{logger_8h}\index{logger.\-h@{logger.\-h}}
}
{\ttfamily \#include $<$fstream$>$}\*
{\ttfamily \#include $<$iostream$>$}\*
{\ttfamily \#include \char`\"{}ui\-\_\-constants.\-h\char`\"{}}\*
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classCLogger}{\-C\-Logger}
\end{DoxyCompactItemize}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{logger_8h_a0d166c9d0c55f3d1070f8ec15cc28cb8}{\-C\-O\-M\-P\-A\-T\-I\-B\-I\-L\-I\-T\-Y\-\_\-\-L\-O\-G\-G\-E\-R}~1
\item 
\#define \hyperlink{logger_8h_a0905aa6cab396efdb4a49c3141e46f43}{\-L\-\_\-\-D\-A\-T\-E}~0x0001
\item 
\#define \hyperlink{logger_8h_a5b553a5ac7d0c7ccf3ba58424f12574f}{\-L\-\_\-\-T\-I\-M\-E}~0x0002
\item 
\#define \hyperlink{logger_8h_a49c483fa87342b86608b66b3ec811f9b}{\-L\-\_\-\-E\-X\-I\-T}~0x0004
\item 
\#define \hyperlink{logger_8h_a449c78681d1f99ca53fd5d317eddaa05}{\-L\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E}~(\-L\-\_\-\-D\-A\-T\-E $|$ \-L\-\_\-\-T\-I\-M\-E)
\item 
\#define \hyperlink{logger_8h_abcaffe365dee628fcf9fc90c69d534a1}{\-L\-L\-\_\-\-D\-E\-B\-U\-G}~0x0008
\item 
\#define \hyperlink{logger_8h_a7b575b32729d592da968625c4c5d2c86}{\-L\-L\-\_\-\-W\-A\-R\-N}~0x0010
\item 
\#define \hyperlink{logger_8h_a470f2a78a65631fc362324a584f71bbc}{\-L\-L\-\_\-\-E\-R\-R}~0x0020
\item 
\#define \hyperlink{logger_8h_a79a8c3bc619431a3e621ce3fa51e5e74}{\-L\-L\-\_\-\-E\-M\-E\-R\-G}~(\-L\-L\-\_\-\-E\-R\-R $|$ \-L\-\_\-\-E\-X\-I\-T $|$ \-L\-T\-\_\-\-B\-O\-T\-H)
\item 
\#define \hyperlink{logger_8h_a890e3677d4fa05ede29044db17bc03f2}{\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E}~0x0080
\item 
\#define \hyperlink{logger_8h_add1216bd027d44f81a9a587003b3a162}{\-L\-T\-\_\-\-S\-T\-D\-E\-R\-R}~0x0100
\item 
\#define \hyperlink{logger_8h_a74a2be1da05c782d0a2ebaf37933f2ce}{\-L\-T\-\_\-\-S\-Y\-S\-L\-O\-G}~0x0200
\item 
\#define \hyperlink{logger_8h_a90e324a6dc7dc07c1acfa6c2cbc0df9f}{\-L\-T\-\_\-\-B\-O\-T\-H}~(\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E $|$ \-L\-T\-\_\-\-S\-T\-D\-E\-R\-R)
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{logger_8h_a47a6c72218dc0f15fa69ee146e247706}{init\-\_\-log} (const char $\ast$p\-Log\-File, unsigned p\-Flags)
\item 
int \hyperlink{logger_8h_a183e292054763ce8040527efd290ced8}{init\-\_\-log} (unsigned int p\-Flags, const char $\ast$p\-Log\-File=\-N\-U\-L\-L)
\item 
int \hyperlink{logger_8h_a57d28e64b454287d4f683eed87760242}{printl\-\_\-raw} (bool p\-Console\-Only, unsigned int p\-Flags, const char $\ast$p\-Source, const char $\ast$p\-Format, va\-\_\-list p\-Arg\-List)
\item 
int \hyperlink{logger_8h_a49768d5395227b0881497aaf92facdf4}{printl\-\_\-console} (unsigned int p\-Flags, const char $\ast$p\-Source, const char $\ast$p\-Format,...)
\item 
int \hyperlink{logger_8h_ac624d343e4f0d5c5bcac94e889f6ea33}{printl} (unsigned int p\-Flags, const char $\ast$p\-Source, const char $\ast$p\-Format,...)
\item 
int \hyperlink{logger_8h_aa8d5e80fad9f467b4ffa69fe5eaa9914}{cleanup\-\_\-log} ()
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{logger_8h_a0d166c9d0c55f3d1070f8ec15cc28cb8}{
\index{logger.\-h@{logger.\-h}!\-C\-O\-M\-P\-A\-T\-I\-B\-I\-L\-I\-T\-Y\-\_\-\-L\-O\-G\-G\-E\-R@{\-C\-O\-M\-P\-A\-T\-I\-B\-I\-L\-I\-T\-Y\-\_\-\-L\-O\-G\-G\-E\-R}}
\index{\-C\-O\-M\-P\-A\-T\-I\-B\-I\-L\-I\-T\-Y\-\_\-\-L\-O\-G\-G\-E\-R@{\-C\-O\-M\-P\-A\-T\-I\-B\-I\-L\-I\-T\-Y\-\_\-\-L\-O\-G\-G\-E\-R}!logger.h@{logger.\-h}}
\subsubsection[{\-C\-O\-M\-P\-A\-T\-I\-B\-I\-L\-I\-T\-Y\-\_\-\-L\-O\-G\-G\-E\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-C\-O\-M\-P\-A\-T\-I\-B\-I\-L\-I\-T\-Y\-\_\-\-L\-O\-G\-G\-E\-R~1}}
\label{logger_8h_a0d166c9d0c55f3d1070f8ec15cc28cb8}
\hypertarget{logger_8h_a0905aa6cab396efdb4a49c3141e46f43}{
\index{logger.\-h@{logger.\-h}!\-L\-\_\-\-D\-A\-T\-E@{\-L\-\_\-\-D\-A\-T\-E}}
\index{\-L\-\_\-\-D\-A\-T\-E@{\-L\-\_\-\-D\-A\-T\-E}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-\_\-\-D\-A\-T\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-\_\-\-D\-A\-T\-E~0x0001}}
\label{logger_8h_a0905aa6cab396efdb4a49c3141e46f43}
\hypertarget{logger_8h_a449c78681d1f99ca53fd5d317eddaa05}{
\index{logger.\-h@{logger.\-h}!\-L\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E@{\-L\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E}}
\index{\-L\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E@{\-L\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-\_\-\-D\-A\-T\-E\-T\-I\-M\-E~(\-L\-\_\-\-D\-A\-T\-E $|$ \-L\-\_\-\-T\-I\-M\-E)}}
\label{logger_8h_a449c78681d1f99ca53fd5d317eddaa05}
\hypertarget{logger_8h_a49c483fa87342b86608b66b3ec811f9b}{
\index{logger.\-h@{logger.\-h}!\-L\-\_\-\-E\-X\-I\-T@{\-L\-\_\-\-E\-X\-I\-T}}
\index{\-L\-\_\-\-E\-X\-I\-T@{\-L\-\_\-\-E\-X\-I\-T}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-\_\-\-E\-X\-I\-T}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-\_\-\-E\-X\-I\-T~0x0004}}
\label{logger_8h_a49c483fa87342b86608b66b3ec811f9b}
\hypertarget{logger_8h_a5b553a5ac7d0c7ccf3ba58424f12574f}{
\index{logger.\-h@{logger.\-h}!\-L\-\_\-\-T\-I\-M\-E@{\-L\-\_\-\-T\-I\-M\-E}}
\index{\-L\-\_\-\-T\-I\-M\-E@{\-L\-\_\-\-T\-I\-M\-E}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-\_\-\-T\-I\-M\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-\_\-\-T\-I\-M\-E~0x0002}}
\label{logger_8h_a5b553a5ac7d0c7ccf3ba58424f12574f}
\hypertarget{logger_8h_abcaffe365dee628fcf9fc90c69d534a1}{
\index{logger.\-h@{logger.\-h}!\-L\-L\-\_\-\-D\-E\-B\-U\-G@{\-L\-L\-\_\-\-D\-E\-B\-U\-G}}
\index{\-L\-L\-\_\-\-D\-E\-B\-U\-G@{\-L\-L\-\_\-\-D\-E\-B\-U\-G}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-L\-\_\-\-D\-E\-B\-U\-G}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-L\-\_\-\-D\-E\-B\-U\-G~0x0008}}
\label{logger_8h_abcaffe365dee628fcf9fc90c69d534a1}
\hypertarget{logger_8h_a79a8c3bc619431a3e621ce3fa51e5e74}{
\index{logger.\-h@{logger.\-h}!\-L\-L\-\_\-\-E\-M\-E\-R\-G@{\-L\-L\-\_\-\-E\-M\-E\-R\-G}}
\index{\-L\-L\-\_\-\-E\-M\-E\-R\-G@{\-L\-L\-\_\-\-E\-M\-E\-R\-G}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-L\-\_\-\-E\-M\-E\-R\-G}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-L\-\_\-\-E\-M\-E\-R\-G~(\-L\-L\-\_\-\-E\-R\-R $|$ \-L\-\_\-\-E\-X\-I\-T $|$ \-L\-T\-\_\-\-B\-O\-T\-H)}}
\label{logger_8h_a79a8c3bc619431a3e621ce3fa51e5e74}
\hypertarget{logger_8h_a470f2a78a65631fc362324a584f71bbc}{
\index{logger.\-h@{logger.\-h}!\-L\-L\-\_\-\-E\-R\-R@{\-L\-L\-\_\-\-E\-R\-R}}
\index{\-L\-L\-\_\-\-E\-R\-R@{\-L\-L\-\_\-\-E\-R\-R}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-L\-\_\-\-E\-R\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-L\-\_\-\-E\-R\-R~0x0020}}
\label{logger_8h_a470f2a78a65631fc362324a584f71bbc}
\hypertarget{logger_8h_a7b575b32729d592da968625c4c5d2c86}{
\index{logger.\-h@{logger.\-h}!\-L\-L\-\_\-\-W\-A\-R\-N@{\-L\-L\-\_\-\-W\-A\-R\-N}}
\index{\-L\-L\-\_\-\-W\-A\-R\-N@{\-L\-L\-\_\-\-W\-A\-R\-N}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-L\-\_\-\-W\-A\-R\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-L\-\_\-\-W\-A\-R\-N~0x0010}}
\label{logger_8h_a7b575b32729d592da968625c4c5d2c86}
\hypertarget{logger_8h_a90e324a6dc7dc07c1acfa6c2cbc0df9f}{
\index{logger.\-h@{logger.\-h}!\-L\-T\-\_\-\-B\-O\-T\-H@{\-L\-T\-\_\-\-B\-O\-T\-H}}
\index{\-L\-T\-\_\-\-B\-O\-T\-H@{\-L\-T\-\_\-\-B\-O\-T\-H}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-T\-\_\-\-B\-O\-T\-H}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-T\-\_\-\-B\-O\-T\-H~(\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E $|$ \-L\-T\-\_\-\-S\-T\-D\-E\-R\-R)}}
\label{logger_8h_a90e324a6dc7dc07c1acfa6c2cbc0df9f}
\hypertarget{logger_8h_a890e3677d4fa05ede29044db17bc03f2}{
\index{logger.\-h@{logger.\-h}!\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E@{\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E}}
\index{\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E@{\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-T\-\_\-\-L\-O\-G\-F\-I\-L\-E~0x0080}}
\label{logger_8h_a890e3677d4fa05ede29044db17bc03f2}
\hypertarget{logger_8h_add1216bd027d44f81a9a587003b3a162}{
\index{logger.\-h@{logger.\-h}!\-L\-T\-\_\-\-S\-T\-D\-E\-R\-R@{\-L\-T\-\_\-\-S\-T\-D\-E\-R\-R}}
\index{\-L\-T\-\_\-\-S\-T\-D\-E\-R\-R@{\-L\-T\-\_\-\-S\-T\-D\-E\-R\-R}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-T\-\_\-\-S\-T\-D\-E\-R\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-T\-\_\-\-S\-T\-D\-E\-R\-R~0x0100}}
\label{logger_8h_add1216bd027d44f81a9a587003b3a162}
\hypertarget{logger_8h_a74a2be1da05c782d0a2ebaf37933f2ce}{
\index{logger.\-h@{logger.\-h}!\-L\-T\-\_\-\-S\-Y\-S\-L\-O\-G@{\-L\-T\-\_\-\-S\-Y\-S\-L\-O\-G}}
\index{\-L\-T\-\_\-\-S\-Y\-S\-L\-O\-G@{\-L\-T\-\_\-\-S\-Y\-S\-L\-O\-G}!logger.h@{logger.\-h}}
\subsubsection[{\-L\-T\-\_\-\-S\-Y\-S\-L\-O\-G}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-L\-T\-\_\-\-S\-Y\-S\-L\-O\-G~0x0200}}
\label{logger_8h_a74a2be1da05c782d0a2ebaf37933f2ce}


\subsection{\-Function \-Documentation}
\hypertarget{logger_8h_aa8d5e80fad9f467b4ffa69fe5eaa9914}{
\index{logger.\-h@{logger.\-h}!cleanup\-\_\-log@{cleanup\-\_\-log}}
\index{cleanup\-\_\-log@{cleanup\-\_\-log}!logger.h@{logger.\-h}}
\subsubsection[{cleanup\-\_\-log}]{\setlength{\rightskip}{0pt plus 5cm}int cleanup\-\_\-log (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{logger_8h_aa8d5e80fad9f467b4ffa69fe5eaa9914}
\hypertarget{logger_8h_a47a6c72218dc0f15fa69ee146e247706}{
\index{logger.\-h@{logger.\-h}!init\-\_\-log@{init\-\_\-log}}
\index{init\-\_\-log@{init\-\_\-log}!logger.h@{logger.\-h}}
\subsubsection[{init\-\_\-log}]{\setlength{\rightskip}{0pt plus 5cm}int init\-\_\-log (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{p\-Log\-File, }
\item[{unsigned}]{p\-Flags}
\end{DoxyParamCaption}
)}}
\label{logger_8h_a47a6c72218dc0f15fa69ee146e247706}
\hypertarget{logger_8h_a183e292054763ce8040527efd290ced8}{
\index{logger.\-h@{logger.\-h}!init\-\_\-log@{init\-\_\-log}}
\index{init\-\_\-log@{init\-\_\-log}!logger.h@{logger.\-h}}
\subsubsection[{init\-\_\-log}]{\setlength{\rightskip}{0pt plus 5cm}int init\-\_\-log (
\begin{DoxyParamCaption}
\item[{unsigned int}]{p\-Flags, }
\item[{const char $\ast$}]{p\-Log\-File = {\ttfamily \-N\-U\-L\-L}}
\end{DoxyParamCaption}
)}}
\label{logger_8h_a183e292054763ce8040527efd290ced8}
\hypertarget{logger_8h_ac624d343e4f0d5c5bcac94e889f6ea33}{
\index{logger.\-h@{logger.\-h}!printl@{printl}}
\index{printl@{printl}!logger.h@{logger.\-h}}
\subsubsection[{printl}]{\setlength{\rightskip}{0pt plus 5cm}int printl (
\begin{DoxyParamCaption}
\item[{unsigned int}]{p\-Flags, }
\item[{const char $\ast$}]{p\-Source, }
\item[{const char $\ast$}]{p\-Format, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}
\label{logger_8h_ac624d343e4f0d5c5bcac94e889f6ea33}
\hypertarget{logger_8h_a49768d5395227b0881497aaf92facdf4}{
\index{logger.\-h@{logger.\-h}!printl\-\_\-console@{printl\-\_\-console}}
\index{printl\-\_\-console@{printl\-\_\-console}!logger.h@{logger.\-h}}
\subsubsection[{printl\-\_\-console}]{\setlength{\rightskip}{0pt plus 5cm}int printl\-\_\-console (
\begin{DoxyParamCaption}
\item[{unsigned int}]{p\-Flags, }
\item[{const char $\ast$}]{p\-Source, }
\item[{const char $\ast$}]{p\-Format, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}
\label{logger_8h_a49768d5395227b0881497aaf92facdf4}
\hypertarget{logger_8h_a57d28e64b454287d4f683eed87760242}{
\index{logger.\-h@{logger.\-h}!printl\-\_\-raw@{printl\-\_\-raw}}
\index{printl\-\_\-raw@{printl\-\_\-raw}!logger.h@{logger.\-h}}
\subsubsection[{printl\-\_\-raw}]{\setlength{\rightskip}{0pt plus 5cm}int printl\-\_\-raw (
\begin{DoxyParamCaption}
\item[{bool}]{p\-Console\-Only, }
\item[{unsigned int}]{p\-Flags, }
\item[{const char $\ast$}]{p\-Source, }
\item[{const char $\ast$}]{p\-Format, }
\item[{va\-\_\-list}]{p\-Arg\-List}
\end{DoxyParamCaption}
)}}
\label{logger_8h_a57d28e64b454287d4f683eed87760242}
